package com.scuec.groupfive.vo;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class QuestionDetailVO {
    private Long questionId;
    private Integer subjectId;
    private String questionType;
    private String content;
    private List<String> options; // 选择题选项
    private String answer; // 正确答案
    private String analysis; // 解析
    private Integer difficulty;
    private Integer year;
    private String referenceAnswer; // 主观题参考答案
    private String answerHints; // 主观题答题提示
    private String answerTemplate; // 填空题答案模板
    private List<String> blanks; // 填空题填空位置
    private Map<String, String> optionsMap; // 用于存储带选项字母的映射

    // 新增字段：用户答案
    private String userAnswer;

    // 新增字段：是否正确
    private Boolean isCorrect;

    // 新增字段：得分
    private Double score;
}